#define _CRT_SECURE_NO_WARNINGS 1

#pragma once 

typedef int SLDataType;
#define N 10
#define EXPANSION
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

//vector
typedef struct SeqList
{
	SLDataType* array;
	size_t size;
	size_t capacity;
}SeqList;



void SeqListPushBack(SeqList* ps, SLDataType x);
void SeqListPopBack(SeqList* ps);
void SeqListPushFront(SeqList* ps, SLDataType x);
void SeqListPopFront(SeqList* ps);
void SeqListCheckCapacity(SeqList* ps);


void SeqListInsert(SeqList* ps, int pos, SLDataType x);
void SeqListErase(SeqList* ps, int pos);
void SeqListInit(SeqList* s);
void SeqListPrint(SeqList* ps);